package com.sh.pojo;

public class Person {
    private String name;

    public Person() {
        System.out.println("Person 构造方法被调用");
    }

    public void setName(String name) {
        this.name = name;
    }

    public void sayHello() {
        System.out.println("你好，我是 " + name);
    }
}
